package edu.jptest.service;

import java.util.List;

import edu.jptest.bean.ExaminationPaper;
import edu.jptest.bean.ExamineQuestionSubject;
import edu.jptest.bean.ExamineQuestionType;

public interface IExaminationPaperService {
	
	// 教师组卷
	public void makeExaminationPaperByTeacher(ExaminationPaper examinationPaper,ExamineQuestionSubject examineQuestionSubject,ExamineQuestionType examineQuestionType,int testPointId);
	
	// 用户自行组卷,用户自行组的试卷系统不保存。
	public List<Integer> makeExaminationPaperByUser(ExaminationPaper examinationPaper,ExamineQuestionType examineQuestionType,int testPointId);
	
	//更改组卷
	public boolean updateExaminationPaper(int examinePaper_id);
	
	//删除组卷
	public void deleteMakedExaminePaper(int examinePaper_id,int exmaineQuestionType_id,int examineQuestionSubject_id,int examineQuestion_id);
	
	//获得教材中固有的试卷（每课一练、单元测试等）
	public List<List<Integer>> getExaminePaperInBook(int questionOrigin_id);
	
	//获得教师组好的试卷
	public List<List<Integer>> getTeaExaminePaper(String paperName);
 }
